extends layout

block barre

block content

    h1 = title

    .container
        nav
            ul
              li
                a(href="/map") #{mail}
              li
                a
                  | Level
                  span.badge.red #{lvl}
              li
                a
                  | Power
                  span.badge #{power}
              li
                a
                  | Money
                  span.badge.green #{money}

              li
                a(href='/alliance') Alliance

    #wrapper-200a
        ul.accordion
            li#one.files
              a(href='/map')
                | Map
                span
            li#two.mail
              a(href='#two')
                | Plants
                span
              ul.sub-menu
                li
                  a(onclick='newCrop1()')
                    em 01
                    | Tomatoes
                    span
                li
                  a(onclick='newCrop2()')
                    em 02
                    | Corn
                    span
                li
                  a(onclick='newCrop3()')
                    em 03
                    | Wheat
                    span
            li#three.cloud
              a(href='#three')
                | Buildings
                span
              ul.sub-menu
                li
                  a(onclick='newBuilding1()')
                    em 01
                    | Silo
                    span
                li
                  a(onclick='newBuilding2()')
                    em 02
                    | Barn
                    span
                li
                  a(onclick='newBuilding3()')
                    em 03
                    | Cold Storage
                    span
            li#logOut.sign
              a
                | Logout
    script(src='/javascripts/Building.js')
    script(src='/javascripts/Crops.js')
    script(src='/javascripts/Client.js')
    script(src='/javascripts/crafty.js')